---
import ServiceWorker from "@/layouts/_components/ServiceWorker.astro";
import IndexPage from "./_index/index.astro";
import useItemCollectPath from "@/hooks/useItemCollectPath";
---

<!doctype html>
<html lang="zh-cn">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/favicon/logoblack.png" />
    <link rel="manifest" href="/manifest.json" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="baidu-site-verification" content="codeva-8EMQz0cKSc" />
    <meta
      name="description"
      content="Providencraft Mod - 一款虚拟主播同人MCMOD"
    />
    <!-- baidu analytics -->
    <script>
      var _hmt = _hmt || [];
      (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?e02a729d4e40cc7fb4106fa93bd0ebba";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode?.insertBefore(hm, s);
      })();
    </script>
    <title>Providencraft Mod - 一款虚拟主播同人MCMOD</title>
    <ServiceWorker />
  </head>

  <body>
    <IndexPage />
    <style is:global>
      :root {
        font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
        line-height: 1.5;
        font-weight: 400;

        color-scheme: light dark;
        color: rgba(255, 255, 255, 0.87);
        background-color: #242424;

        font-synthesis: none;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-text-size-adjust: 100%;
      }

      html {
        width: 100%;
        height: 100%;
      }

      body {
        margin: 0;
        display: flex;
        place-items: center;
        width: 100%;
        min-width: 320px;
        height: 100%;
      }

      #app {
        text-align: center;
      }

      .w100 {
        width: 100%;
      }

      .h100 {
        height: 100%;
      }
    </style>
  </body>
</html>
